package com.project.service;

import com.project.entity.Kpoint;
import com.project.entity.User;
import io.swagger.models.auth.In;

import java.util.List;

public interface KpointService {

    void add(Kpoint kpoint);

    List<Kpoint> findByCondition(Kpoint kpoint);

    Kpoint findById(Integer id);

    Kpoint findByName(String name);

    void removeById(Integer id);

    int modify(Kpoint kpoint);

    List<Kpoint> queryListByPid(Integer pid);

    int changenamebyid(Integer id, String name);
}
